
export default {
  namespace: 'clock',
  state: {
    visible: false
  },
  reducers: {
    connect(state, action) {
      return { ...state, ...action.payload };
    },
  },
  effects: {
    *change({ payload: _State }, { call, put }) {
      yield put({
        type: 'connect',
        payload: {
          visible: _State.visible
        }
      })
    }
  },
  subscriptions: {},
};
